const query = require("../db/query");

// 获取所有科室数据
const Getalldepartment = async (params) => {
    const sql = `SELECT *  FROM adminchildred where id LIKE '%${params.id}%' and adminchildrenname like '%${params.adminchildrenname}%' and departmenthead like '%${params.departmenthead}%'`;
    return await query(sql);
}

module.exports = {
    Getalldepartment,//获取所有科室数据
}